package com.jihui.user.dao;


import com.jihui.user.model.JihuiUser;

/**
 * Created by wangjin on 2017/5/19.
 */
public interface UserDao{
    void sayHello(String name);
    void save(JihuiUser jihuiUser);
    JihuiUser findById(Long primaryKey);

    /**
     * 根据用户名查询用户对象
     * @param username 用户名
     */
    JihuiUser findByUsername(String username);

}
